package io.renren.modules.mvs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 罚单表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2025-03-30 17:08:24
 */
@Data
@TableName("mvs_ticket")
public class TicketEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 罚单id
	 */
	@TableId(type = IdType.INPUT)
	private String id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 违章id
	 */
	private Long violationId;
	/**
	 * 违章天数
	 */
	private Integer violationDay;
	/**
	 * 罚金
	 */
	private BigDecimal fineAmount;
	/**
	 * 滞纳金
	 */
	private BigDecimal overdueFee;
	/**
	 * 待缴罚金
	 */
	private BigDecimal waitFine;
	/**
	 * 待缴滞纳金
	 */
	private BigDecimal waitOverdueFee;
	/**
	 * 罚单状态
	 */
	private String ticketStatus;
	/**
	 * 创建日期
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

}
